<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta content="user-scalable=no,width=device-width, initial-scale=1" id="viewport" name="viewport" initial-scale="1">

		<script language="javascript" type="text/javascript" src="../js/js/baseJs.js"></script>

	</head>
	<body style="background:#eff6ff">

		<div class="wap-upload-shareholder" id="uploadRequirements" style="display: none;">
			<div class="wap-header">申请成功
				<a class="back" onClick="javascript:window.history.back();return false;"></a>
			</div>
			<div style="display: flex;justify-content: center;margin-top: 1.2rem;">
				<img src="../image/sucess_ico.png" />
			</div>
			<div style="font-size:.2rem;text-align: center;">我们已收到您的申请，将于您密切联系</div>
			<a class="wap-comfirm-button" style="display:block " href="../index.mobile.html">返回首页</a>
		</div>	
		<script src="../js/js/rem_fix.js"></script>
		<script src="../js/js/common.js"></script>
		<script type="text/javascript">
			var token = getCookie("userToken");
			var userId = getCookie("userId");
			var loginUrl = "../userBundle/login.mobile.html" + "?" + "../userBundle/becomeShareholder.mobile.html";
			if (!token || !userId) {
				window.location.href = loginUrl;
			}
			var uploadPayInfoApp = new Vue({
				el: '#uploadRequirements',
				data: {
            		qiniuData: {
			          key: "",
			          token: ""
			        },
			        upload_qiniu_addr:'',
				},
				ready: function() {
					$("#uploadRequirements").show();
					var data={
			            client: 1,
			            token: token,
			            userId: userId
			          }
			          pushData("/qiniu/get_token ",data,function(res){
			            if(res.state){
			              this.qiniuData.token=res.data.result;
			              console.log(res)
			            }else if (res.errorCode == 008) {
						  window.location.href = loginUrl;
						}else{
			              alert(res.message)
			            } 
			          }.bind(this));
				},

				methods: {
					
				}
			})
		</script>

	</body>
</html>
